<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../WEB-INF/templates/frontend.xhtml">
    <ui:param name="title" value="View profile"/>
    <f:metadata>
        <f:viewParam name="id" value="#{profileBean.userId}" />
    </f:metadata>
    <ui:define name="content">

        <ui:include src="profile.xhtml">
            <ui:param name="user" value="#{profileBean.user}"/>
        </ui:include>

    </ui:define>
</ui:composition>
